@charset "utf-8";
$fontSize:40;
@function r($p){
    @return $p/$fontSize*1rem;
}
.course_bg{
    background-color: #f5f5f5;
}
.cont_bg{
    background: white;
}
.course_cont{
    width: r(580);
    margin: 0 auto;
    background: white;
}
.course_tit{
    margin-top: 20px;
    border-bottom: 1px solid #8b8b8b;
    div:nth-child(1){
        p{
            color: #5c5856;
            font-size: 20px;
            font-weight: bold;
        }
        
    }
    div:nth-child(3){
        p{
            padding: 5px 0;
            color: #8b8b8b;
            font-size: 14px;
            display: inline-block;
        }
    }
    div:nth-child(2){
        float: right;
        p{
            padding: 5px 0;
            color: #8b8b8b;
            font-size: 14px;
            display: inline-block;
        }
    }
}
.course_cont img{
    width: 100%;
    padding: 10px 0;
}
.course_cont>p{
    color: #8b8b8b;
    font-size: 16px;
    padding: 8px 0;
}
//时间和地点
.course_date{
    margin-top: 20px;
    p:nth-child(1){
        color: #5c5856;
        font-size: 20px;
        font-weight: bold;
        
        padding: 5px r(28) 10px;
    }
    p{
        color: #727171;
        padding: 0 r(28) 10px;
        i{
            color: #b60005;
            padding-right: 8px;
            font-weight: bold;
        }
    }
}
//讲师简介
.course_teacher{
    margin-top: 20px;
    
}
.course_teacher>p{
    color: #5c5856;
    font-size: 18px;
    padding: 10px r(28) 0;
}
.teacher{
//  height: r(116);
    display: -webkit-flex;
    display: flex;
    justify-content:flex-start;
    flex-wrap: wrap;
}
.teacher_item{
    height: r(86);
    display: -webkit-flex;
    display: flex;
    align-items: center;
    padding: 10px r(28);
    p{
        color: #727171;
        padding-left: 5px;
        font-size: 12px;
    }
    p:first-child{
        font-size: 14px;
        
    }
    img{
        width: r(87);
    }
}
//立即报名
.sign_but{
    margin-top: 20px;
    height: r(350);
    p{
        margin: 20px auto;
        width: r(593);
        height: r(86);
        line-height: r(86);
        text-align: center;
        font-size: 20px;
        color: white;
        background: #b20000;
        i{
            margin-left: 10px;
        }
    }
}
